package com.woniu.aimd.service.impl;

import com.woniu.aimd.pojo.entity.Wrongchoicequestion;
import com.woniu.aimd.mapper.MyWChoiceQMapper;
import com.woniu.aimd.service.MyWChoiceQ;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MyWChoiceQImpl implements MyWChoiceQ {
@Autowired
MyWChoiceQMapper myWChoiceQMapper;
    @Override
    public List<Wrongchoicequestion> MyWChoiceQ(String user_id, Integer status) {
        return myWChoiceQMapper.selectmychoicequestion(user_id,status);
    }

    @Override
    public void deleteMyWChoiceQ(int id) {
        myWChoiceQMapper.deletemychoicequestion(id);
    }
}
